import numpy as np

# arr = np.ones((3, 3))
# print(arr + 1)

score = np.array([
    [80, 86],
    [82, 80],
    [85, 78],
    [90, 90],
    [86, 82],
    [82, 90],
    [78, 80],
    [92, 94],
])

b = np.array([[0.7], [0.3]])

# matmul只能矩阵相乘
# print(np.matmul(score, b))

# dot允许和数相乘
# print(np.dot(score, 10))

score = (score[:, 0] + score[:, 1]) / 2
print(score)
